package com.springinaction.ch03.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.web.context.WebApplicationContext;

@Component
/**
 * value 作用域
 * web WebApplicationContext.SCOPE_SESSION  session
 * web WebApplicationContext.SCOPE_REQUEST  request
 *
 *  proxyMode  see StoreService
 */
@Scope(
        value = WebApplicationContext.SCOPE_SESSION,
        proxyMode = ScopedProxyMode.INTERFACES

)
public class ShopingCart {


}
